import {BaseUrl} from "../constant/constant";
import {ApiFetch} from "../api/apiHandler";

class PushModel {
    constructor() {
        this.url = BaseUrl
    }

    all(params) {
        let end = this.url + 'gettuisong'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }

    delete(params) {
        let end = this.url + 'deltuisong'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }

}

export default PushModel
